/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gameheartv2;

import java.awt.Graphics;
import java.awt.Image;

/**
 *
 * @author GaoXteen
 */
public class GameState {
        public GameStateFrame  mainGame;
	int GAME_STATE;
        public int width;
        public int height;
        protected Image dbImage = null;
        protected Graphics gp2d = null;
	public void MessageEnter(int message){

        }

        public void MessageUpdate(int message){
            int i = 5;
        }
        public void MessagePaint(int message){

        }

       
	public void StateHandler(int message){

            if(message == GameDef.MESSAGE_ENTER)
            {
                    MessageEnter(message);
            }
            if(message == GameDef.MESSAGE_UPDATE)
            {
                    MessageUpdate(message);
            }
            if(message == GameDef.MESSAGE_PAINT)
            {
                    MessagePaint(message);
            }
        }

        public void StopGame()
         {
            
        }
}
